﻿using System.Runtime.CompilerServices;
using System;

namespace Smart.Model
{
    public class Waiter
    {
        public Awaiter GetAwaiter()
        {
            return new Awaiter();
        }

        public bool IsCompleted
        {
            get;set;
        }

        public void GetResult()
        {

        }

        public struct Awaiter : INotifyCompletion
        {
            public void OnCompleted(Action continuation)
            {

            }
        }
    }
}